package com.chat.server.base;

import java.io.Serializable;

/**
 * 包名处理model
 *
 * @Auther created by haoteng on 2019/09/05
 */
public class PackageMeta implements Serializable {

    private static final long serialVersionUID = -3916002561798492328L;

    private String interfacePath;

    private String ip;

    private Integer port;


    public String getInterfacePath() {
        return interfacePath;
    }

    public void setInterfacePath(String interfacePath) {
        this.interfacePath = interfacePath;
    }


    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getPackagePath() {
        return this.interfacePath + "$" +
                this.ip + ":" +
                this.port;
    }

}
